home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / porttool.zip / TAIL.MAN < prev    next >
Text File  |  1992-12-03  |  3KB  |  71 lines

  1.  
  2.    NNAAMMEE
  3.       tail - display the last part of a file
  4.  
  5.    SSYYNNOOPPSSIISS
  6.       ttaaiill [ _+_|_-_n_u_m_b_e_r ] [ _-_b_c_f_h_l_r ] [ _f_i_l_e ] ...
  7.  
  8.    DDEESSCCRRIIPPTTIIOONN
  9.       ttaaiill copies _f_i_l_e to the standard output beginning at a designated
  10.       place.  If no file is named, the standard input is used.
  11.  
  12.    OOPPTTIIOONNSS
  13.       Options are all jammed together, not specified separately with
  14.       their own `-' signs.
  15.  
  16.       _+_n_u_m_b_e_r  Begin copying at distance _n_u_m_b_e_r from the beginning of the
  17.                file.  _n_u_m_b_e_r is counted in units of lines, blocks or
  18.                characters, according to the appended option l, b or c.
  19.                When no units are specified, counting is by lines.  If
  20.                _n_u_m_b_e_r is not specified, the value 10 is used.
  21.  
  22.       _-_n_u_m_b_e_r  Begin copying at distance _n_u_m_b_e_r from the end of the
  23.                file.  _n_u_m_b_e_r is counted in units of lines, blocks or
  24.                characters, according to the appended option l, b or c.
  25.                When no units are specified, counting is by lines.  If
  26.                _n_u_m_b_e_r is not specified, the value 10 is used.
  27.  
  28.       ll        _n_u_m_b_e_r is counted in units of lines.
  29.  
  30.       bb        _n_u_m_b_e_r is counted in units of blocks (512 bytes).
  31.  
  32.       cc        _n_u_m_b_e_r is counted in units of characters.
  33.  
  34.       rr        Copy lines from the end of the file in reverse order.  The
  35.                default for rr is to print the entire file in reverse
  36.                order.
  37.  
  38.       ff        If the input file is not a pipe, do not terminate after
  39.                the last line of the input file has been copied, but enter
  40.                an endless loop, sleeping for a second and then attempting
  41.                to read and copy further records from the input file.
  42.                This option may be used to monitor the growth of a file
  43.                that is being written by some other process.  For example,
  44.                the command:
  45.  
  46.                   tail -f fred
  47.  
  48.                will print the last ten lines of the file fred, followed
  49.                by any lines that are appended to fred between the time
  50.                tail is initiated and killed.  As another example, the
  51.                command:
  52.  
  53.                   tail -15cf fred
  54.  
  55.                will print the last 15 characters of the file fred,
  56.                followed by any lines that are appended to fred between
  57.                the time tail is initiated and killed.
  58.  
  59.       hh        Display a short help message.
  60.  
  61.    BBUUGGSS
  62.       Data for a tail relative to the end of the file is stored in a
  63.       buffer, and thus is limited in size.
  64.  
  65.       Carriage-returns are not counted.
  66.  
  67.       Some programs open output files in restrictive access modes; ttaaiill
  68.       cannot read these files unless the owner cooperates.
  69.  
  70.    CCooppyyrriigghhtt  ((cc))  11999922    FFrraannkk  EE..  WWhhaalleeyy    AAllll  rriigghhttss  rreesseerrvveedd
  71.